package com.major.hash;

public class HashTabMain {
    public static void main(String[] args) {
        HashTab hashTab = new HashTab(9);

        Emp emp1 = new Emp(1,"葛雨生");
        Emp emp2 = new Emp(2,"马志涛");
        Emp emp3 = new Emp(10,"李洪睿");

        hashTab.add(emp1);
        hashTab.add(emp2);
        hashTab.add(emp3);

        hashTab.list();

        Emp res = hashTab.findEmpById(2);
        System.out.println(res);
    }
}
